package com.tpshion.cloud.common.support;

/**
 * 公用属性名定义
 */
public class Field {

    /* 请求开始时间戳 */
    public static final String START_TIME = "startTime";

    /* 请求追踪id */
    public static final String TRACE_ID = "traceId";

    /* 当前登录用户id */
    public static final String USER_ID = "userId";

    /* 当前登录用户名称 */
    public static final String USER_NAME = "userName";

    /* 当前登录用户手机号 */
    public static final String PHONE = "phone";

    /* 当前登录用户邮箱 */
    public static final String EMAIL = "email";

    /* 当前用户所属机构号 */
    public static final String ORG_ID = "orgId";

    /* 当前用户所属机构名称 */
    public static final String ORG_NAME = "orgName";

    /* 用户验证信息 */
    public static final String AUTH_INF = "authInf";

    /* token */
    public static final String TOKEN = "token";

    /* 权限 */
    public static final String PERMISSION = "permission";

    /* 登录次数 */
    public static final String LOGIN_NUM_KEY = "loginNum";

    /* 访问次数 */
    public static final String REQUEST_NUM_KEY = "requestNum";
}
